package com.wenwen.social.domain.service;

import com.wenwen.social.domain.model.MessageLikes;

import java.util.List;
import java.util.Map;

public interface MessageLikesService {

    void addLikes(MessageLikes likes);

    void cancelLikes(MessageLikes likes);

    List<MessageLikes> getLikes(Long msgId, Long startTime, Integer limit);

    List<MessageLikes> getLikes(Long msgId, Integer pageNum, Integer pageSize);

    boolean existLikes(Long uid, Long messageId);

    Map<Long, MessageLikes> existLikes(Long uid, List<Long> messageId);
}
